// 行内块元素
.inline {
  display: inline-block;
}

// common me
.i,
.cite,
.em,
.var,
.address,
.dfn {
  font-style: normal;
}

.a {
  color: black;
  text-decoration: none;
}

.event-none {
  pointer-events: none;
}

.event-auto {
  pointer-events: auto;
}

// :not(input,textarea){-webkit-touch-callout:none;-webkit-user-select:none}
.fl {
  float: left;
  display: inline
}

.fr {
  float: right;
  display: inline
}

.cf {
  zoom: 1
}

.cf:after,
.cf:before {
  content: '';
  display: table
}

.cf:after {
  clear: both
}

.overflow {
  overflow: hidden;
}

.overflow-x {
  overflow-x: hidden;
}

.dis-none {
  display: none
}

.dis-block {
  display: block;
}

.dis-inline-block {
  display: inline-block;
}

.dis-flex {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-column {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-wrap-center {
  width: 47%;
  margin: 1.5%;
}

.flex-left {
  flex-direction: row;
}

.justify-space {
  justify-content: space-around;
}

.justify {
  text-align: justify;
  justify-content: space-between;
}

.ellipsis {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-wrap: normal;
}

.line-clamp2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.ellipsis-white {
  position: relative;
  height: 3.6em;

  &:after {
    content: "";
    text-align: right;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
    height: 1.2em;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 50%);
  }
}

.pos-f {
  position: fixed;
}

.pos-a {
  position: absolute
}

.pa {
  position: absolute;
  top: 0;
  left: 0;
}

.pa-r {
  position: absolute;
  top: 0;
  right: 0;
}

.pa-b {
  position: absolute;
  bottom: 0;
  left: 0;
}

.pa-br {
  position: absolute;
  bottom: 0;
  right: 0;
}

.pos-r {
  position: relative;
}

.pr {
  position: relative;
  top: 0;
  left: 0;
}

.tce {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.ce {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto
}

.mCe {
  position: absolute;
  left: 0;
  right: 0;
  margin-right: auto;
  margin-left: auto
}

.vCe {
  position: absolute;
  top: 0;
  bottom: 0;
  margin-top: auto;
  margin-bottom: auto;
}

.btn {
  transition: all .3s ease;
  -webkit-transition: all .3s ease;
}

.btn:active {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
}

.btn:hover {
  opacity: .7;
  transition: opacity .4s
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.line-height {
  line-height: 1;
}

.min-height {
  min-height: 100%;
}

.margin-auto {
  margin-right: auto;
  margin-left: auto
}

.v-align-middle {
  white-space: nowrap;

  &:before,
  &:after {
    content: '';
    width: 0;
    height: 100%;
    display: inline-block;
    vertical-align: middle;
  }
}

.border-50 {
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

.bg-back {
  height: 100% !important;
  width: 100% !important;
}

.bg-back-w {
  width: 100% !important;
}

.bg-back-h {
  height: 100% !important;
}

.bg {
  height: 100vh !important;
  width: 100vw !important;
}

.bg2 {
  height: 200vh !important;
  width: 200vw !important;
}

.bg3 {
  height: 300vh !important;
  width: 300vw !important;
}

.transformZ {
  transform: translateZ(1px);
}

.cursor-not-allowed {
  cursor: not-allowed !important
}

.unselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.z-index99 {
  z-index: 99;
}

.z-index-10 {
  z-index: -10;
}

.v-align-tb {
  vertical-align: text-bottom;
}

.over-scroll-touch {
  overflow-scrolling: touch;
  -webkit-overflow-scrolling: touch;
}

.font-bold {
  font-weight: bold;
}

.text-line {
  text-decoration: line-through;
}

.text-underline {
  text-decoration: underline;
}

.border-none {
  border: none !important;
}

// base me
.main-width {
  min-width: 1000px;
  max-width: 1440px;
}

// flex
.flex {
  display: flex;

  >.left,
  >.rigth {
    flex: none
  }

  >.content {
    flex: auto
  }
}

.box-shadow {
  box-shadow: 1px 0 4px rgba(0, 21, 41, .08);
}

.pointer {
  cursor: pointer;
}